import request from '@/utils/request'

// 查询人数
export function getPeopleCount(query) {
  return request({
    url: '/static/count',
    method: 'get',
    params: query
  })
}

//查询男女异常人数比例
export function getGenderCount(query) {
  return request({
    url: '/static/genderCount',
    method: 'get',
    params: query
  })
}

//查询年龄段异常人数
export function getAgeCount(query) {
  return request({
    url: '/static/ageCount',
    method: 'get',
    params: query
  })
}